<template>
  <div>
      <el-button type="primary" @click="willAdd">添加</el-button>
      
      <v-list @willEdit="willEdit"></v-list>
     
      <v-form :info="info"  ref="form"></v-form>
  </div>
</template>
<script>
import vForm from "./components/form.vue";
import vList from "./components/list.vue";
import {toggle} from "../../mixins/toggle"
export default {
  mixins:[toggle],
  components: {
    vList,
    vForm,
  },
};
</script>
<style lang="less" scoped>
@import "../../less/index.less";
</style>